package server.business.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 科别
 * 
 * @TableName department
 * @author Galaxy
 */
@TableName(value = "department")
@Data
public class Department implements Serializable {
    /**
     * 数字代码
     */
    @TableField(value = "code")
    private String code;

    /**
     * 科室名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 上级科室代码
     */
    @TableField(value = "parent_code")
    private String parentCode;

    @TableField(exist = false)
    private static final long serialVersionUID = -9080361263028955381L;
}